<?php

class GameGetInteractionAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_INT,
        SzAbstractAction::TYPE_ARRAY,
    );

    /**
     *
     * 获取多玩家可互动信息列表
     *
     * @param int $userId 用户ID
     * @param array $userIds 玩家IDs
     * @return SzResponse
     */
    public function execute($userId, $userIds)
    {
        return $this->buildResponse(
            GameService::get()->getInteraction($userIds,$userId)
        );
    }
}